import java.util.Arrays;

public class MyString {
    public static void main(String[] args) {
        String ss = "hello";
        String zz = "hello";
        System.out.println(ss==zz);
        // 数字转字符串
        String s1 = String.valueOf(1234);
        String s2 = String.valueOf(12.34);
        String s3 = String.valueOf(true);
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);

        System.out.println("=================================");
        final int array[] = {1,2,3,4,5};
        array[0] = 100;
        System.out.println(Arrays.toString(array));

        String s = String.format("%d-%d-%d", 2019, 9,14);
        System.out.println(s);
    }
}
